package com.zby.lease.model.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.dromara.autotable.annotation.AutoTable;

/**
 * 公寓费用值关系类
 * 该类继承自BaseEntity，用于表示公寓与费用值之间的关系
 * 主要用途是通过公寓ID和费用ID来关联公寓信息和费用信息
 */
@Data
@Schema(description = "公寓费用值关系")
@TableName(value = "apartment_fee_value")
@Builder
@NoArgsConstructor
@AllArgsConstructor
@AutoTable
public class ApartmentFeeValue extends BaseEntity{
private static final long serialVersionUID = 1L;

    /**
     * 公寓ID
     * 用于关联公寓信息，标识哪一个公寓
     */
@Schema(description = "公寓ID")
@TableField(value = "apartment_id")
private Long apartmentId;

    /**
     * 费用ID
     * 用于关联费用值信息，标识具体的费用项目
     */
@Schema(description = "费用ID")
@TableField(value = "fee_value_id")
private Long feeValueId;
}
